package com.joysuch.wwyt.bp.service;

import cn.zlg.common.datadump.bean.BatchDeleteResult;
import com.joysuch.wwyt.bp.bean.inspect.BpInspectTypeBean;
import com.joysuch.wwyt.bp.entity.BPNFCLocation;
import com.joysuch.wwyt.bp.entity.inspect.BpInspectType;
import com.joysuch.wwyt.core.bean.BaseAddNfcCardBean;
import com.joysuch.wwyt.core.bean.BaseNfcCardBean;
import com.joysuch.wwyt.core.bean.BaseSearchNfcCardBean;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface BpNFCLocationService {


    List<BPNFCLocation> findAll();

    BPNFCLocation add(BaseNfcCardBean bean);

    BPNFCLocation update(BaseNfcCardBean bean);

    BaseNfcCardBean findById(Long id);

    BaseNfcCardBean getById(Long id);

    List<BPNFCLocation> addList(BaseAddNfcCardBean bean);

    Page<BaseNfcCardBean> pageCard(Pageable page, BaseSearchNfcCardBean condition);

    void deleteCard(Long id);

    BatchDeleteResult batchNfcDelate(List<Long> ids);

    BaseNfcCardBean findByCode(String code);
}
